DataConnector | ComponentOne
C1.AdoNet.CSV Assembly / C1.DataConnector.AdoNet Namespace / C1DataAdapterBase<TCommandImpl> Class / AddToBatch Method
The System.Data.IDbCommand to add to the batch.

In This Topic
    AddToBatch Method (C1DataAdapterBase<TCommandImpl>)
    In This Topic
    Invoked for every row affected based on the current records in DataTable. It got called the same amount of times as the value of UpdateBatchSize.
    Syntax
    'Declaration
     
    Protected Overrides Function AddToBatch( _
       ByVal command As IDbCommand _
    ) As Integer
    protected override int AddToBatch( 
       IDbCommand command
    )

    Parameters

    command
    The System.Data.IDbCommand to add to the batch.
    See Also